package com.whales.shared.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.whales.shared.model.CommonVO;
import com.whales.shared.service.CommonService;

@Controller
@RequestMapping("/common/*")
public class CommonController extends GenericController<CommonVO, CommonVO, CommonService> {
	@RequestMapping
	public @ResponseBody String getNewId() throws Exception{
		return service.getNewId();
	}
}
